package com.ruoyi.project.instrument.service;

import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.project.instrument.domain.InsInstrument;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 仪器信息Service接口
 *
 * @author taney
 * @date 2020-06-08
 */
public interface IInsInstrumentService extends IService<InsInstrument> {
    /**
     * 下发仪器定标指令
     * @param asList
     * @return
     */
    AjaxResult calibration(List<Integer> asList);

    /**
     * 下发仪器软件更新指令
     * @param asList
     * @return
     */
    AjaxResult versionUpdate(List<Integer> asList);

    /**
     * 下发仪器关机指令
     * @param asList
     * @param state
     * @param netState
     * @return
     */
    AjaxResult powerOff(List<Integer> asList, String state, String netState);
}
